package com.woniuxy.educationplatform.service;

import com.woniuxy.educationplatform.bean.ProjectBean;
import com.woniuxy.educationplatform.bean.SubjectBean;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ISubjectService {

    SubjectBean findById(Long id);

    List<SubjectBean> findOneByCondition(Long id, Date createTime);

    List<SubjectBean> findAll();

    void update(SubjectBean subjectBean);

    void saveSubjectBean( SubjectBean subjectBean, Long id);

    void deletdSubjectBean(Long id);

    Long findIdByName(String subjectName);

    String[] getSubjectName();
}
